﻿@using System.Web.UI.WebControls
@using DevExpress.Web.ASPxClasses
@using DevExpress.Web.Mvc.UI
@using Dogshow.Model
@model KinoloskoDrustvo
       
@Html.DevExpress().CallbackPanel(
        s =>
            {
                s.Name = "cbKinoloskoDrustvo";
                s.CallbackRouteValues = new {Controller = "KinoloskaDrustva", Action = "VratiKinoloskoDrustvo"};
                s.SetContent(() => @Html.RenderPartial("KinoloskoDrustvoPartial", Model));
                s.ClientSideEvents.BeginCallback = "onBeginVratiKinoloskoDrustvo";
                s.ClientSideEvents.EndCallback = "onEndVratiKinoloskoDrustvo";
                s.LoadingPanelImagePosition = ImagePosition.Left;
                s.LoadingPanelText = "Učitavam podatke...";
                s.HideContentOnCallback = true;
            }
    ).GetHtml()